import request from '@/utils/request'

// 重点人群
export const getLeiBie = (query) => {
  return request({
    url: '/system/index/getLeiBie',
    method: 'get',
    params: query
  })
}

// 合计
export const statistics = (query) => {
  return request({
    url: '/system/index/statistics',
    method: 'get',
    params: query
  })
}

// 行业分类
export const getHnagYeFenLei = (query) => {
  return request({
    url: '/system/index/getHnagYeFenLei',
    method: 'get',
    params: query
  })
}

// 重点人群信息按钮
export const zhongdian = (query) => {
  return request({
    url: '/system/index/getZhongDianRenQun',
    method: 'get',
    params: query
  })
}

// 高级搜索
export const gaoji = (query) => {
  return request({
    url: '/system/index/getGaoJiSouSuo',
    method: 'get',
    params: query
  })
}

// 所以类别
export const leibie = (query) => {
  return request({
    url: '/system/index/getSuoYouLeiBie',
    method: 'get',
    params: query
  })
}

// 所以类别
export const nextData = (query) => {
  return request({
    url: '/system/index/' + query.type,
    method: 'get',
    params: query
  })
}

// 重点人群信息
export const population = (query) => {
  return request({
    url: '/system/person/list',
    method: 'get',
    params: query
  })
}